package com.kaili.pojo.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author cgm
 * @since 2018-06-05
 */
@TableName("base_barcode_rule")
public class BaseBarcodeRule implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    @TableField("ewb_type")
    private Integer ewbType;
    @TableField("barcode_rule")
    private String barcodeRule;
    @TableField("create_by")
    private Integer createBy;
    @TableField("modify_by")
    private Integer modifyBy;
    private String remark;
    @TableField("modify_time")
    private Date modifyTime;
    @TableField("create_time")
    private Date createTime;
    private Integer rdstatus;
    /**
     * 单号规则长度
     */
    private Integer length;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getEwbType() {
        return ewbType;
    }

    public void setEwbType(Integer ewbType) {
        this.ewbType = ewbType;
    }

    public String getBarcodeRule() {
        return barcodeRule;
    }

    public void setBarcodeRule(String barcodeRule) {
        this.barcodeRule = barcodeRule;
    }

    public Integer getCreateBy() {
        return createBy;
    }

    public void setCreateBy(Integer createBy) {
        this.createBy = createBy;
    }

    public Integer getModifyBy() {
        return modifyBy;
    }

    public void setModifyBy(Integer modifyBy) {
        this.modifyBy = modifyBy;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getRdstatus() {
        return rdstatus;
    }

    public void setRdstatus(Integer rdstatus) {
        this.rdstatus = rdstatus;
    }

    public Integer getLength() {
        return length;
    }

    public void setLength(Integer length) {
        this.length = length;
    }

    @Override
    public String toString() {
        return "BaseBarcodeRule{" +
        ", id=" + id +
        ", ewbType=" + ewbType +
        ", barcodeRule=" + barcodeRule +
        ", createBy=" + createBy +
        ", modifyBy=" + modifyBy +
        ", remark=" + remark +
        ", modifyTime=" + modifyTime +
        ", createTime=" + createTime +
        ", rdstatus=" + rdstatus +
                ", length=" + length +
        "}";
    }
}
